package msr.calculate;

import msr.service.OracleService;
import msr.util.Define;
import msr.util.RequestAction;

public class Bara extends Calculation {
	public Bara() {
		System.out.println("bara class");
	};

	/**
	 * get quantity
	 * */
	public int getQuantity(int weight, int input) {
		/* TODO */
		return 0;
	}

	/**
	 * return nokisaki value
	 * */
	public int getWeight(int quantity, int weight) {
		return 0;
	}

	public int getNokisaki(String username, String jichikucd) {
		int nokisaki;
		/*
		 * TODO check condition for bara type
		 */
		OracleService oservice = new OracleService();
		nokisaki = oservice.getNokisaki(username, jichikucd);
		return nokisaki;

	}

}
